package com.luoying.itew.db;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 数据库操作的线程池
 */
public class DBThreadPool {
    private static ExecutorService executorService = Executors.newSingleThreadExecutor();

    public static ExecutorService getPool (){
        return  executorService;
    }

}
